package com.sijia.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.sijia.reggie.entity.Dish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 杨思佳
 * @version 1.0
 */
@Mapper
public interface DishMapper extends BaseMapper<Dish> {


    @Select("select * from dish where id in #{ids}")
    List<Dish> selectByIds(List<Long> ids);
}
